package k2_oop.p1_classAndObject.demo08;

public class TestDemo8 {
    public static void main(String[] args) {

        Vehicle car = new Vehicle();
        car.init(100,300);

        System.out.println(car.speed);
//        System.out.println(car.size);

        car.move(5);
        car.speedUp();
        car.move(2);
        car.speedUp();
        car.move(3);
        car.speedDown();
        car.move(1);

//        car.speedUp();
//        System.out.println(car.speed);
//        car.speedUp();
//        System.out.println(car.speed);
//        car.speedUp();
//        System.out.println(car.speed);
//        car.speedUp();
//        System.out.println(car.speed);
//        car.speedUp();
//        System.out.println(car.speed);

//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);
//        car.speedDown();
//        System.out.println(car.speed);

    }
}
